package com.fowo.api.costAccounting.model.bd;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import javax.validation.constraints.*;
import lombok.Data;

/** 会计期间档案 导入导出辅助模型 */
@Data
public class BdAccperiodExcelPo {

  @Size(max = 50, message = "租户id长度不能超过20")
  @ExcelProperty(value = "租户id")
  private Integer tenantId;

  @Size(max = 50, message = "所属组织长度不能超过20")
  @ExcelProperty(value = "所属组织")
  private Integer pkOrg;

  @Size(max = 50, message = "会计年度长度不能超过20")
  @DateTimeFormat("yyyy年MM月dd日")
  @ExcelProperty(value = "会计年度")
  private java.util.Date periodYear;

  @Size(max = 50, message = "起始日期长度不能超过20")
  @DateTimeFormat("yyyy年MM月dd日")
  @ExcelProperty(value = "起始日期")
  private java.util.Date beginDate;

  @Size(max = 50, message = "终止日期长度不能超过20")
  @DateTimeFormat("yyyy年MM月dd日")
  @ExcelProperty(value = "终止日期")
  private java.util.Date endDate;

  @Size(max = 50, message = "会计期间个数长度不能超过20")
  @ExcelProperty(value = "会计期间个数")
  private String periodNum;

  @Size(max = 50, message = "是否启用调整长度不能超过20")
  @ExcelProperty(value = "是否启用调整")
  private String isAdjustable;
}
